﻿/*layout*/
.header, .main {
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.menu, .footer {
    width: 100%;
}

.main {
    overflow: hidden;
}

/*common*/
body {
    background-color: #FCFCF5;
}

a {
    color: #000;
}

    a:hover {
        color: #ff6a00;
        text-decoration: none;
    }

td {
    padding: .5em;
}

/*header*/
.header {
    overflow: hidden;
}

.logo {
    height: 60px;
    float: left;
}

.header .state {
    float: left;
    line-height: 30px;
    margin: 15px;
}

.header .right {
    float: right;
}

.header ul li {
    float: left;
}

.header li a {
    line-height: 30px;
    text-align: center;
    padding: 1em;
    color: #ff6a00;
}
/*main-content*/
.content {
}

fieldset {
    border: 1px solid #808080;
    padding: 1em;
}
/*footer*/
.footer {
    background-color: #fff;
}

    .footer .copyright {
        color: #9C9C9C;
    }

    .footer div {
        text-align: center;
        padding: 1em;
    }

    .footer .link {
        width: 1000px;
        margin: 0 auto;
    }

        .footer .link a {
            color: #000;
            margin: 1em;
        }

h2 {
    line-height: 30px;
    background-color: #fff;
    border: 1px solid #e8e7d0;
    margin: .5em 0;
    text-indent: 1em;
    font-weight: bold;
    font-size: 1.2em;
}

h3 {
    line-height: 30px;
    margin: .5em 0;
    border-bottom: 1px solid #808080;
}
/*tree*/
.tree ul {
    padding-left: 2em;
}

.tree .current {
    color: red;
}

.left {
    width: 200px;
    float: left;
}

.right {
    margin-left: 200px;
}

div#header h1 {
    width: 400px;
    height: 60px;
    margin-left: 0;
    background: url("http://images.cnblogs.com/cnblogs_com/easygame/676078/o_logo.png") no-repeat;
}

#header #navigator {
    width: 100%;
    background-color: #fff;
    height: 36px;
    margin-top: 0;
}

#navigator #navList {
    float: left;
}

#navigator .blogStats {
    top: 0;
    height: 36px;
    margin-top: 0;
    line-height: 36px;
}

#navList a {
    font-size: 14px;
    height: 36px;
    line-height: 36px;
    padding-top: 0;
    color: #000;
}

    #navList a:hover {
        text-decoration: none;
        color: #ff6a00;
    }

.catListPostArchive, .catListImageCategory {
    display: none;
}

/*#main #mainContent
{
    margin-left:-330px;
}
#main #sideBar{
    width:330px;
}*/
/*mvc*/
.requiredtag {
    color: red;
    display: inline-block;
    width: 1em;
}

.autolabel {
    text-align: right;
}

.valign {
    display: inline;
    line-height: 30px;
}

.submit {
    padding: 0 1em;
    line-height: 24px;
    text-indent: .5em;
    font-size: 14px;
    letter-spacing: .5em;
    text-align: center;
}

.single-line {
    width: 300px;
    padding: 2px;
    line-height: 24px;
    vertical-align: middle;
}

.check-box {
    vertical-align: middle;
}

input.captcha {
    width: 180px;
    vertical-align: middle;
}

img.captcha {
    vertical-align: middle;
}

.field-validation-error {
    background: url("Images/error.png") no-repeat left center;
    padding-left: 24px;
    color: red;
}

h2.title {
    color: red;
}
/*menu*/
.menu {
    border: 1px solid #e8e7d0;
    background-color: #fff;
}

#nav {
    width: 1000px;
    height: 40px;
    z-index: 1000;
    margin: 0 auto;
    padding: 0;
    list-style-type: none;
    list-style-position: outside;
}

    #nav ul {
        margin: 0;
        padding: 0;
        list-style-type: none;
        list-style-position: outside;
        position: relative;
        line-height: 40px;
    }

    #nav a {
        display: block;
        padding: 0px 20px;
        color: #000;
        text-decoration: none;
        line-height: 40px;
        font-size: 14px;
    }

        #nav a:hover {
            font-weight: bold;
            color: #F40;
            border-bottom: 1px solid #ff6a00;
            line-height: 39px;
        }

    #nav li {
        float: left;
        position: relative;
    }

    #nav ul {
        position: absolute;
        display: none;
        width: 12em;
        top: 40px;
    }

    #nav li ul a {
        width: 12em;
        height: auto;
        float: left;
    }

    #nav ul ul {
        top: auto;
    }

    #nav li ul ul {
        left: 12em;
        margin: 0px 0 0 10px;
    }

    #nav li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul {
        display: none;
    }

    #nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li li li li:hover ul {
        display: block;
    }

    #nav .current {
        font-weight: bold;
        color: #F40;
    }